package com.Register.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class CarouselsUpdateDTO implements Serializable {
    @Schema(description = "主键ID-也是活动编号-不可修改")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "标题")
    private String title;

    @Schema(description = "图片URL")
    private String imageUrl;

    @Schema(description = "跳转链接")
    private String linkUrl;

    @Schema(description = "排序字段")
    private Integer sortOrder;

    @Schema(description = "是否展示")
    private Boolean activeStatus;

    @Schema(description = "状态 0:删除，1:未删除")
    private Long deleted;
}
